const flaw_type_B = [
  { show: '失印NG', symbol: 'NG', color: '#aa0000', id: 3101, shape: 0 },
  { show: '失印缺失', symbol: 'NG', color: '#aa0000', id: 3103, shape: 0 },
  { show: 'mark缺陷', symbol: 'MARK', color: '#aa0000', id: 8000, shape: 0 },
  { show: '失印OK', symbol: 'OK', color: '#aa0000', id: 8100, shape: 0 },
  { show: '失印', symbol: 'R', color: '#aa0000', id: 3100, shape: 0 },
]

const flaw_type_C = [
  { show: '失印NG', symbol: 'NG', color: '#aa0000', id: 3101, shape: 0 },
  { show: '失印缺失', symbol: 'NG', color: '#aa0000', id: 3103, shape: 0 },
  { show: 'mark缺陷', symbol: 'MARK', color: '#aa0000', id: 8000, shape: 0 },
  { show: '失印OK', symbol: 'OK', color: '#aa0000', id: 8100, shape: 0 },
  { show: '失印', symbol: 'R', color: '#aa0000', id: 3100, shape: 0 },
]

const flaw_type_A = [
  { show: '保护膜气泡', symbol: 'C', color: '#00ff00', id: 1300, shape: 8, camera_id: 2, station: "工位-2" },
  { show: '脏污', symbol: 'D', color: '#00ff00', id: 1100, shape: 8, camera_id: 3, station: "工位-4" },
  { show: 'PIT', symbol: 'F', color: '#00ff00', id: 1200, shape: 8, camera_id: 4, station: "工位-10" },
  { show: '保护膜异物', symbol: 'G', color: '#00ff00', id: 2000, shape: 8, camera_id: 5, station: "工位-5" },
  { show: '划痕', symbol: 'H', color: '#00ff00', id: 4100, shape: 8, camera_id: 6, station: "工位-6" },
  { show: '压点', symbol: 'I', color: '#ff0000', id: 1700, shape: 2, camera_id: 7, station: "工位-7" },
  { show: '测试', symbol: '⚫', color: '#ff0000', id: 8000, shape: 8, camera_id: 1, station: "工位-1" },
  { show: '缺陷过量', symbol: 'B', color: '#ff0000', id: 3900, shape: 8, camera_id: 1, station: "工位-1" },
  { show: '小', symbol: 'C', color: '#00ff00', id: 1301, shape: 8, camera_id: 2, station: "工位-2" },
  { show: '大', symbol: 'C', color: '#ff5500', id: 1303, shape: 8, camera_id: 2, station: "工位-2" },
  { show: '小', symbol: 'D', color: '#00ff00', id: 1101, shape: 8, camera_id: 3, station: "工位-4" },
  { show: '大', symbol: 'D', color: '#ff5500', id: 1103, shape: 8, camera_id: 3, station: "工位-4" },
  { show: 'MARK', symbol: 'E', color: '#00ff00', id: 1500, shape: 4, camera_id: 4, station: "工位-10" },
  { show: '小', symbol: 'F', color: '#00ff7f', id: 1201, shape: 8, camera_id: 4, station: "工位-10" },
  { show: '大', symbol: 'F', color: '#ff5500', id: 1203, shape: 8, camera_id: 4, station: "工位-10" },
  { show: '小', symbol: 'G', color: '#00ff00', id: 2001, shape: 8, camera_id: 5, station: "工位-5" },
  { show: '大', symbol: 'G', color: '#ff5500', id: 2003, shape: 8, camera_id: 6, station: "工位-6" },
  { show: '小', symbol: 'H', color: '#00ff00', id: 4101, shape: 8, camera_id: 6, station: "工位-6" },
  { show: '大', symbol: 'H', color: '#ff5500', id: 4103, shape: 8, camera_id: 6, station: "工位-6" },
  { show: '小', symbol: 'I', color: '#ff0000', id: 1701, shape: 2, camera_id: 7, station: "工位-7" },
  { show: '大', symbol: 'I', color: '#ff0000', id: 1703, shape: 2, camera_id: 7, station: "工位-7" }
]

const flaw_type_D = [
  { show: '残胶', symbol: 'J', color: '#ff0000', id: 1600, shape: 2, camera_id: 8, station: "工位-8" },
  { show: 'POL气泡', symbol: 'K', color: '#ff0000', id: 1400, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '保护膜浮起', symbol: 'M', color: '#00ff00', id: 2500, shape: 8, camera_id: 11, station: "工位-11" },
  { show: '磕伤', symbol: 'N', color: '#ff0000', id: 2300, shape: 2, camera_id: 12, station: "工位-12" },
  { show: 'POL凸起', symbol: 'E', color: '#ff0000', id: 2200, shape: 2, camera_id: 14, station: "工位-13" },
  { show: 'POL融化', symbol: 'E', color: '#ff0000', id: 2100, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '边缘异物', symbol: 'E', color: '#ff0000', id: 2400, shape: 2, camera_id: 15, station: "工位-14" },
  { show: '全局参数', symbol: 'X', color: '#fffaf8', id: 8300, shape: 8, camera_id: 16, station: "工位-15" },
  { show: '小', symbol: 'J', color: '#ff0000', id: 1601, shape: 2, camera_id: 8, station: "工位-8" },
  { show: '大', symbol: 'J', color: '#ff0000', id: 1603, shape: 2, camera_id: 8, station: "工位-8" },
  { show: '小', symbol: 'K', color: '#ff0000', id: 1401, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '大', symbol: 'K', color: '#ff0000', id: 1403, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '玻璃渣', symbol: 'L', color: '#ff0000', id: 2600, shape: 2, camera_id: 11, station: "工位-11" },
  { show: '小', symbol: 'M', color: '#00ff00', id: 2501, shape: 8, camera_id: 11, station: "工位-11" },
  { show: '大', symbol: 'M', color: '#ff5500', id: 2503, shape: 8, camera_id: 11, station: "工位-11" },
  { show: '小', symbol: 'N', color: '#ff0000', id: 2301, shape: 2, camera_id: 12, station: "工位-12" },
  { show: '大', symbol: 'N', color: '#ff0000', id: 2303, shape: 2, camera_id: 12, station: "工位-12" },
  { show: '小', symbol: 'E', color: '#ff0000', id: 2201, shape: 2, camera_id: 14, station: "工位-13" },
  { show: '大', symbol: 'E', color: '#ff0000', id: 2203, shape: 2, camera_id: 14, station: "工位-13" },
  { show: '小', symbol: 'E', color: '#ff0000', id: 2101, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '大', symbol: 'E', color: '#ff0000', id: 2103, shape: 2, camera_id: 9, station: "工位-9" },
  { show: '小', symbol: 'E', color: '#ff0000', id: 2401, shape: 2, camera_id: 15, station: "工位-14" },
  { show: '大', symbol: 'E', color: '#ff0000', id: 2402, shape: 2, camera_id: 15, station: "工位-14" },
  { show: '非电极边气泡线', symbol: 'P', color: '#ff5500', id: 1900, shape: 8, camera_id: 9, station: "工位-9" },
  { show: '电极边气泡线', symbol: 'Q', color: '#ff5500', id: 1800, shape: 8, camera_id: 9, station: "工位-9" },
  { show: '膜内参数', symbol: 'X', color: '#ffffff', id: 8301, shape: 8, camera_id: 16, station: "工位-15" },
  { show: '膜边参数', symbol: 'X', color: '#ffffff', id: 8302, shape: 8, camera_id: 16, station: "工位-15" },
  { show: '膜外参数', symbol: 'X', color: '#ffffff', id: 8303, shape: 8, camera_id: 16, station: "工位-15" },
  { show: '凹凸点参数', symbol: 'X', color: '#ffffff', id: 8304, shape: 8, camera_id: 16, station: "工位-15" },
  { show: '巡边', symbol: 'X', color: '#ffffff', id: 8305, shape: 8, camera_id: 16, station: "工位-15" }
]

module.exports = {
  flaw_type_A,
  flaw_type_B,
  flaw_type_C,
  flaw_type_D
}